annex.diskreserve default increased from 1 mb to 100 mb
authorJoey Hess <joeyh@joeyh.name>
Wed, 21 Sep 2022 19:00:13 +0000 (15:00 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 21 Sep 2022 19:00:13 +0000 (15:00 -0400)
commit34e313f7860c1c63056e7ef712dd47db410c9ca8
treec501ee05f754262f931cd518afbfff28c3a9f137
parent94216c99a75a199626e8c8275f2f53ab5759ca01
annex.diskreserve default increased from 1 mb to 100 mb

It's hard to know what's a good default for this. But 1 mb seems way too
small, because it's very easy for a git pull or some similar operation
that we don't think of as using much space to use up 1 mb of space.

Most people would want to free up some space if a filesystem only had 100
mb free. But on a small VPS, it's probably not uncommon to have only 1 gb
free. So 1 gb is too large for annex.diskreserve.

While old 1 gb USB keys are around, it's unlikely that anyone is
relying on them to shuttle annex data around; it would be worth anyone's
time to upgrade to a 32 gb or larger cheap modern USB key ($5).

Sponsored-by: Kevin Mueller on Patreon
CHANGELOG
Types/GitConfig.hs
doc/git-annex.mdwn
doc/todo/prevent_pulling_unlocked_files_using_all_disk_space_by_default.mdwn